package com.soda.service;

import java.util.List;

import com.soda.bean.Information;
import com.soda.bean.Notice;
import com.soda.util.PageInfo;
import com.soda.util.SelectInformInfo;
import com.soda.util.SelectNoticeInfo;

public interface InformationService {
	 //全查
	Information showAllInform(int id);
	//模糊查询+分页2
	List<Information> getInform(SelectInformInfo sii, PageInfo pi);
	//查询信息有几条
 
	int getInformCount(SelectInformInfo sii);
	//删除
	int deleteById(int id);
	//修改
	
	int updateInform(int id, int recommend, String neirong);	
	//增加
	int addInform(Information Inform);
	
	//批量删除
	int delAllInform(String[] list);
	//导出
	List<Information> exportInform(String[] count);
	//修改状态
	int updateStateNews(int newId, int state);
	
}
